﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using Webmedia.Wedding.Entities.Object.Restaurent;
using Webmedia.Wedding.Entities.Object;
using Webmedia.Wedding.Entities.Object.DichVu;
using Webmedia.Wedding.Entities.Object.DoanhThu;
using Webmedia.Wedding.Entities.Object.HoaDon;
using Webmedia.Wedding.Entities.Object.HoatDong;
using Webmedia.Wedding.Entities.Object.HopDong;
using Webmedia.Wedding.Entities.Object.MuaKinhDoanh;
using Webmedia.Wedding.Entities.Object.People;
using Webmedia.Wedding.Entities.Object.Restaurent;
using Webmedia.Wedding.Entities.Object.SanPham;
using Webmedia.Wedding.Entities.Object.ThucDon;
using Webmedia.Wedding.Entities.Object.TriAn;
using Webmedia.Wedding.Entities.Object.NhaCungCap;
namespace Webmedia.Wedding.Entities.Context
{
   public class DataContext:DbContext
    {
        public DbSet<DichVu> DicVus { get; set; }
        public DbSet<LoaiDichVu> LoaiDichVus { get; set; }
        public DbSet<BangGiaDichVu> BangGiaDichVus { get; set; }
       //

        public DbSet<TongQuy> TongQuys { get; set; }
       //

        public DbSet<HoaDonKhachHang> HoaDonKhachHangs { get; set; }
        public DbSet<LoaiHoaDonKhachHang> LoaiHoaDonKhachHangs { get; set; }
       //
        public DbSet<ChiPhiHoatDong> ChiPhiHoatDongs { get; set; }
        public DbSet<ChiPhiHoatDongNhaHang> ChiPhiHoatDongNhaHang { get; set; }
        public DbSet<KhoanThuHoatDongNhaHang> KhoanThuHoatDongNhaHangs { get; set; }
        public DbSet<ThuHoatDong> ThuHoatDongs { get; set; }
       //
        public DbSet<ChiPhiHoatDongTiec> ChiPhiHoatDongTiecs { get; set; }
        public DbSet<HanMucBan> HanMucBans { get; set; }
        public DbSet<HDTiecCuoi> HDTiecCuois { get; set; }
        public DbSet<HopDong> HopDongs { get; set; }
        public DbSet<HopDong_ChiPhiHoatDong> HopDong_ChiPhiHoatDongs { get; set; }
        public DbSet<HopDong_DichVu> HopDong_DichVus { get; set; }
        public DbSet<HopDong_SanPham> HopDong_SanPham { get; set; }
        public DbSet<HopDong_Sanh> HopDong_Sanh { get; set; }

        public DbSet<HopDong_ThucDon> HopDong_ThucDons { get; set; }
        public DbSet<HopDong_TriAn> HopDong_TriAns { get; set; }
        public DbSet<LoaiHopDong> LoaiHopDongs { get; set; }
        public DbSet<TinhTrangHopDong> TinhTrangHopDongs { get; set; }
        public DbSet<ThoiGianTiec> ThoiGianTiecs { get; set; }
     //
        public DbSet<Mua> Muas { get; set; }
        public DbSet<DonViTinh> DonViTinhs { get; set; }
        //
        public DbSet<NhaCungCap> NhaCungCaps { get; set; }
        public DbSet<LoaiNhaCungCap> LoaiNhaCungCaps { get; set; }
       //
        public DbSet<DonViTinhLuong> DonViTinhLuongs { get; set; }
        public DbSet<NguoiDung> NguoiDungs { get; set; }
        public DbSet<PhongBan> PhongBans { get; set; }
        public DbSet<TraLuong> TraLuongs { get; set; }
       //
        public DbSet<NhaHang> NhaHangs { get; set; }
        public DbSet<BangGiaSanh> BangGiaSanhs { get; set; }
        public DbSet<Kho> Khos { get; set; }
        public DbSet<PhieuNhapKho> PhieuNhapKhos { get; set; }
        public DbSet<Sanh> Sanhs { get; set; }
       //
        public DbSet<SanPham> SanPhams { get; set; }
        public DbSet<BangGiaSanPham> BangGiaSanPhams { get; set; }
        public DbSet<LoaiSanPham> LoaiSanPhams { get; set; }
        public DbSet<SanPhamTrongKho> SanPhamTrongKhos { get; set; }
       //
        public DbSet<BangGiaMonAn> BangGiaMonAns { get; set; }
        public DbSet<HangThucDon> HangThucDons { get; set; }
        public DbSet<LoaiMonAn> LoaiMonAns { get; set; }
        public DbSet<MonAn> MonAns { get; set; }
        public DbSet<ThucDon> ThucDons { get; set; }
        public DbSet<ThucDon_MonAn> ThucDon_MonAns { get; set; }
       //
        public DbSet<BangGiaTriAn> BangGiaTriAns { get; set; }
        public DbSet<DichVuTriAn> DichVuTriAns { get; set; }
        public DataContext()
            : base("DefaultConnection")
           
        { }
           public DataContext(string connectionString)
            :base(connectionString)
        { }
    }
}
